<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!--WARNING: This file is maintained by ROO! IT WILL BE OVERWRITTEN unless you specify null	@RooWebScaffold(automaticallyMaintainView = false) in the governing controller-->
<jsp:directive.include file="/WEB-INF/jsp/includes.jsp"/>
<jsp:directive.include file="/WEB-INF/jsp/header.jsp"/>
<script type="text/javascript">dojo.require("dijit.TitlePane");</script>
<div dojoType="dijit.TitlePane" style="width: 100%" title="Update Comment">
    <form:form action="/yourscrum/comment/${comment.id}" method="PUT" modelAttribute="comment">
        <div id="roo_comment_name">
            <label for="_name">Name:</label>
            <form:input cssStyle="width:250px" id="_name" maxlength="50" path="name" size="0"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_name", widgetType: "dijit.form.Textarea", widgetAttrs: {value: ""}})); </script>
            <br/>
            <form:errors cssClass="errors" id="_name" path="name"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_name", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Name (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div id="roo_comment_email">
            <label for="_email">Email:</label>
            <form:input cssStyle="width:250px" id="_email" maxlength="50" path="email" size="0"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_email", widgetType: "dijit.form.Textarea", widgetAttrs: {value: ""}})); </script>
            <br/>
            <form:errors cssClass="errors" id="_email" path="email"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_email", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Email", invalidMessage: "Valid email only", regExp: "[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", required : false}})); </script>
        </div>
        <br/>
        <div id="roo_comment_createDate">
            <label for="_createDate">Create Date:</label>
            <form:input cssStyle="width:250px" id="_createDate" maxlength="30" path="createDate" size="0"/>
            <br/>
            <form:errors cssClass="errors" id="_createDate" path="createDate"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_createDate", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Create Date", invalidMessage: "", required : false}})); </script>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_createDate", widgetType : "dijit.form.DateTextBox", widgetAttrs : {datePattern : "MM/dd/yyyy", required : false}})); </script>
        </div>
        <br/>
        <div id="roo_comment_description">
            <label for="_description">Description:</label>
            <form:textarea cssStyle="width:250px;height:10em" id="_description" path="description"/>
            <br/>
            <form:errors cssClass="errors" id="_description" path="description"/>
            <script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "_description", widgetType : "dijit.form.ValidationTextBox", widgetAttrs : {promptMessage: "Enter Description (required)", invalidMessage: "", required : true}})); </script>
        </div>
        <br/>
        <div class="submit" id="roo_comment_submit">
            <script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'proceed', event:'onclick'}));</script>
            <input id="proceed" type="submit" value="Update"/>
        </div>
        <form:hidden id="_id" path="id"/>
        <form:hidden id="_version" path="version"/>
    </form:form>
</div>
<jsp:directive.include file="/WEB-INF/jsp/footer.jsp"/>
